using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Konst3d.Efficiency.Suite
{
    public enum TaskSeverity
    {
        Low,
        Normal,
        Hight,
        Critical
    }

    public enum TaskState
    {
        Active,
        Completed,
        Failed
    }

    public interface ITask: IIdentifiable<int>
    {
        string Title
        {
            get;
            set;
        }

        string Description
        {
            get;
            set;
        }

        TaskSeverity Severity
        {
            get;
            set;
        }

        TaskState State
        {
            get;
            set;
        }

        DateTime Created
        {
            get;
        }

        DateTime DeadLine
        {
            get;
            set;
        }

		TimeSpan TimeLeft
		{
			get;
		}
    }
}
